package com.homegoods.videomodule.model;

import com.homegoods.videomodule.item.LiveShowItem;
import com.kedll.library.adapter.MultiTypeAdapter;
import com.kedll.library.mvp.BaseItem;
import com.kedll.library.mvp.BaseModel;

/**
 * @author QiQi
 * @ClassName: LiveShowModel
 * @date 2018/10/25
 * @description
 */
public class LiveShowModel extends BaseModel {

    private String id;
    private String title;
    private String imgUrl;
    private String shower;
    private String popularity;
    private String videoUrl;

    public String getVideoUrl() {
        return videoUrl == null ? "" : videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public String getId() {
        return id == null ? "" : id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title == null ? "" : title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImgUrl() {
        return imgUrl == null ? "" : imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getShower() {
        return shower == null ? "" : shower;
    }

    public void setShower(String shower) {
        this.shower = shower;
    }

    public String getPopularity() {
        return popularity == null ? "" : popularity;
    }

    public void setPopularity(String popularity) {
        this.popularity = popularity;
    }

    @Override
    public BaseItem createItem(MultiTypeAdapter adapter) {
        return new LiveShowItem(this, adapter);
    }
}
